﻿using Dyao.Book.Contract;

namespace Dyao.Book.Application
{
    public static class TaskCenterParametersExtensions
    {
        /// <summary>
        /// 获取文件路径
        /// </summary>
        /// <param name="parameters"></param>
        /// <returns></returns>
        public static string GetImportFilePath(this ITaskCenterParameters<TaskCenterImportRequestParamsDto> parameters)
        {
            return parameters.Model?.ImportFilePath;
        }
    }
}
